
# The following MUST be at the top of every Makefile.
TOPDIR ?= ..
include $(TOPDIR)/tools/Makefile.pre

# Modify MODULES to be the list of all modules which must be done
# first before this one (comment out if none).
# Be sure to refer to modules by their regular absolute path name,
# e.g. $(TOPDIR)/foo
MODULES += 	\
    $(TOPDIR)/config		\
    $(TOPDIR)/fdb			\
	$(TOPDIR)/callCtrl		\
	$(TOPDIR)/dateTime


# The following will do make in all subdirectories with a Makefile first.
# 	Comment this out if you do not want or need this.
$(foreach modmakefile,$(wildcard $(MODDIR)/*/Makefile),$(eval MODULES += $(patsubst %/,%,$(dir $(modmakefile)))))

# Modify LIBNAMES to be list of all names of libraries to create
# (comment out if none).
# The names of libraries do NOT include .a extension in this case.
# All libraries created are automatically exported.
LIBNAMES := IMManager

# For each library name, provide LIB_SRC_<name> giving source files
# The names of libraries do NOT include .a extension in this case.
LIBRARY_SRC_IMManager := $(wildcard $(MODDIR)/*.c)

# For each library name, provide LIB_LIBS_<name> giving other library files
# that should be linked into a program to support this library.
# The names of libraries do NOT include .a extension in this case.
LIBRARY_LIBS_IMManager := \
        fdb         \
		callCtrl	\
		dateTime

# List all header files to be exported (installed in other modules)
# (comment out if none).
EXPORT_HEADERS += 	\
        IMManager.h

# List all script files to be exported (installed in other modules)
# (comment out if none).
## EXPORT_SCRIPTS += 

# Modify PROGRAMS to be list of all names of programs to create
# (comment out if none).
# All programs created are automatically exported.
## PROGRAMS := 

# For each program name, provide PROGRAM_SRC_<name> giving source files
# and provide PROGRAM_LIBS_<name> giving library names (no -l or .a !).
## PROGRAM_SRC_exampleTest := \
##     exampleTest.c

# For each program name, provide PROGRAM_LIBS_<name> giving
# library files required by name and with NO .a extension.
## PROGRAM_LIBS_exampleTest := \
##     example


# The following MUST be at the end of every Makefile
include $(TOPDIR)/tools/Makefile.post


